function loginApi(data) {
  return $axios({
    'url': '/employee/login',
    'method': 'post',
    data
  })
}

function logoutApi(){
  return $axios({
    'url': '/employee/logout',
    'method': 'post',
  })
}


const getMenuList = (id) => {
  return $axios({
    url: `/employee/menu/${id}`,
    method: 'get'
  })
}
